package com.echatim.form;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;


@JsonIgnoreProperties(ignoreUnknown = true)
@NoArgsConstructor
@Accessors(chain = true)
@Data
public class RoomJoinForm extends SocketHideProtocolMessage {
    @Range(min = 1, message = "请输入群ID")
    private Long rid = 0L; // 群ID
    @NotBlank(message = "auid不能为空")
    private String auid = ""; // 加入的用户auid
}
